package com.service.impl;

import java.util.List;
import java.util.Map;

import com.bean.Functioninfo;
import com.dao.FunctionInfoDao;
import com.service.FunctionInfoService;

public class FunctionInfoServiceImpl implements FunctionInfoService {

	private FunctionInfoDao functionInfoDao;
	
	public void setFunctionInfoDao(FunctionInfoDao functionInfoDao) {
		this.functionInfoDao = functionInfoDao;
	}


	@Override
	public Functioninfo findById(int functionId) {
		return functionInfoDao.findById(functionId);
	}


	@Override
	public List<Functioninfo> findByCondition(Map<String, Object> map) {
		return functionInfoDao.findByCondition(map);
	}

}
